home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9886 < prev    next >
Encoding:
Text File  |  1996-08-05  |  2.6 KB  |  68 lines

  1. Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++
  2. Path: netcom.com!adaworks
  3. From: adaworks@netcom.com (AdaWorks)
  4. Subject: Re: C/C++ knocks the crap out of Ada
  5. Message-ID: <adaworksDnrrpt.pJ@netcom.com>
  6. Followup-To: comp.lang.ada,comp.lang.c,comp.lang.c++
  7. Organization: NETCOM On-line Communication Services (408 261-4700 guest)
  8. X-Newsreader: TIN [version 1.2 PL1]
  9. References: <JSA.96Feb16135027@organon.com> <dewar.825640041@schonberg> <4h7i55INNknq@anvil.ugrad.cs.ubc.ca> <dewar.825776000@schonberg> <4hdt1tINN44i@keats.ugrad.cs.ubc.ca>
  10. Date: Tue, 5 Mar 1996 00:51:29 GMT
  11. Sender: adaworks@netcom19.netcom.com
  12.  
  13. Kazimir Kylheku (c2a192@ugrad.cs.ubc.ca) wrote:
  14. : In article <dewar.825776000@schonberg>, Robert Dewar <dewar@cs.nyu.edu> wrote:
  15. : >Kazimir says
  16. : >
  17. : >   Standardization notwithstanding, any language will allow you to write
  18. : >   errnoeous programs, whose outcome could have dire consequences. I can
  19. : >   write in Ada a function that computes something other than what I
  20. : >   intend it to compute, as I can in C.
  21.  
  22. :     ... some military fruitcake who cringes at the sight of a curly brace.
  23. : -- 
  24.  
  25.   I hope my reply is correctly addressed.
  26.  
  27.   May I repeat one of my earlier assertions regarding Ada?
  28.  
  29.   Each programming languages is designed with different goals.  An important
  30.   goal of Ada is for the compiler to catch as many errors as possible. A
  31.   second goal is for the run-time to detect errors in a way that they can
  32.   be handled by previously coded Ada statements.  The language is designed
  33.   to maximize both goals.
  34.  
  35.   Many programmers get annoyed by the attempt by the Ada compiler to
  36.   accomplish its goals.  So be it.  
  37.  
  38.   Some languages are designed so the programmer can lay-down code very
  39.   quickly and worry about "debugging" it later.  This is not evil, but 
  40.   it is does not conform to the same goal as established for Ada.  
  41.  
  42.   If you want a compiler that maximizes compile-time error checking, use
  43.   Ada. If this is not important to you, use something else.  
  44.  
  45.   Contrary to the somewhat combustible comment at the end of the previous
  46.   author's article, no one is cringing at the site of a curly-brace. If
  47.   C or C++ supported the goals of Ada, there would be no need for Ada.
  48.   Unfortunately, they fall a little short.
  49.  
  50.   Skilled C/C++ programmers can certainly write better code than unskilled
  51.   Ada programmers.  But even skilled Ada programmers expect a little more 
  52.   help from their Ada compiler than a C programmer might expect from a 
  53.   C compiler.  
  54.  
  55.   Richard Riehle
  56.   adaworks@netcom.com
  57.   
  58.  
  59. -- 
  60.  
  61. richard@adaworks.com
  62. AdaWorks Software Engineering
  63. Suite 27
  64. 2555 Park Boulevard
  65. Palo Alto, CA 94306
  66. (415) 328-1815
  67. FAX  328-1112
  68.